import random

m, n = random.sample(range(10), 2)
print(f"{m = }, {n = }, {~m = }, {~n = }")
print(f"{m&n = }, {m|n = }, {m^n = }")
print(f"{m<<n = }, {m>>n = }, {n<<m = }, {n>>m = }")
